package com.sitech.util;

import java.util.ResourceBundle;

/**
 * Created by Administrator on 2015/6/11.
 */
public class UserSyncConfig {
    private static ResourceBundle resource = null;

    static {
        resource = ResourceBundle.getBundle("authorized_clients");
    }

    public static String getKey(String ip) {
        if (!resource.containsKey(ip)) {
            return null;
        } else {
            return resource.getString(ip);
        }
    }


}
